<template>
  <div class="pages gradesDetails" id="app">
    <div class="pageLevel">
      <el-button type="primary" class="back" size="mini" @click="goBack" icon="el-icon-arrow-left">返回</el-button>
      <common-details v-bind:id='id' v-bind:source='2' v-bind:row='row'></common-details>
    </div>
  </div>
</template>

<script>
import commonDetails from "@/components/commonDetails";
import util from "@/util";
export default {
  components: { commonDetails },
  data() {
    return {
      id: "",
      row:{}
    };
  },
  created () {
    this.id=util.getQuery().id
    this.row=util.getQuery().row
  },
  mounted() {
  },
  methods: {
    goBack(){
       history.back();
    }

  }
};
</script>
<style  scoped>
.back{
  margin:20px;
  /* margin-bottom:20px; */
}
</style>